using UnityEngine;
using System.Collections;

public class CharacterInfo
{
	static CharacterInfo ms_this = null;
	
	
	static int DEFAULT_LEVEL = 1;
	static int DEFAULT_HP = 100;
	static int DEFAULT_XP = 100;
	static int DEFAULT_ATK = 10;
	static int DEFAULT_DEF = 10;
	static int DEFAULT_LUK = 10;
	
	public int m_Level;
	
	public float m_MaxHp;
	public float m_MaxXp;
	
	public float m_Hp;
	public float m_Xp;
	
	public float m_Atk;
	public float m_Def;
	public float m_Luk;
	
	private CharacterInfo()
	{
		m_Level = DEFAULT_LEVEL;
		
		m_MaxHp = DEFAULT_HP;
		m_MaxXp = DEFAULT_XP;
		
		m_Hp = m_MaxHp;
		m_Xp = 0;
		
		m_Atk = DEFAULT_ATK;
		m_Def = DEFAULT_DEF;
		m_Luk = DEFAULT_LUK;
	}
	
	public static CharacterInfo Instance()
	{
		if( ms_this == null )
			ms_this = new CharacterInfo();
		return ms_this;
	}
}
